# -*- encoding: utf-8 -*-
"""
    package.module
    ~~~~~~~~~~~~~~

"""

from flask import Blueprint, jsonify

api_base = Blueprint('api_base', __name__)

@api_base.route('/base/heath')
def get_heath():
    """
    服务健康检查接口
    """
    try:
        ret = dict(code=0, message='Success')
        return jsonify(ret)
    except Exception as e:
        return jsonify(code=9001, message="Pods Fail, {0}".format(str(e)))
